package com.muyu.system.domain;

import com.muyu.common.core.annotation.Excel;
import com.muyu.common.core.web.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * 商品足迹对象 danmo_shopping_footprint
 *
 * @author yangle
 * @date 2024-09-29
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DanmoShoppingFootprint extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 足迹唯一标识
     */
    private Long id;

    /**
     * 关联用户ID
     */
    @Excel(name = "关联用户ID")
    private Long userId;

    /**
     * 关联产品ID
     */
    @Excel(name = "关联产品ID")
    private Long productId;

    /**
     * 关联产品类型ID
     */
    @Excel(name = "关联产品类型ID")
    private Long shoppingSkuId;

    /**
     * 动作类型
     */
    @Excel(name = "动作类型")
    private String actionType;



    private Integer pageNum = 1;
    private Integer pageSize = 10;

//    public void setId(Long id)
//    {
//        this.id = id;
//    }
//
//    public Long getId()
//    {
//        return id;
//    }
//    public void setUserId(Long userId)
//    {
//        this.userId = userId;
//    }
//
//    public Long getUserId()
//    {
//        return userId;
//    }
//    public void setProductId(Long productId)
//    {
//        this.productId = productId;
//    }
//
//    public Long getProductId()
//    {
//        return productId;
//    }
//    public void setActionType(String actionType)
//    {
//        this.actionType = actionType;
//    }
//
//    public String getActionType()
//    {
//        return actionType;
//    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("userId", getUserId())
                .append("productId", getProductId())
                .append("actionType", getActionType())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
